# 从键盘获取成绩
# 成绩大于等于85,good; 大于等于60,soso;大于等于50,bad;小于50,so bad;
a=int(input())
if a>=85:
    print('good')
elif a>=60:
    print('soso')
elif a>=50:
    print('bad')
else:
    print('so bad')